package fpzhan.plane.program.connect;

import fpzhan.plane.program.proxy.CodeBlockProxy;
import fpzhan.plane.program.compose.CodeBlockCompose;
import fpzhan.plane.program.struct.CodeBlockStruct;

import java.util.List;
import java.util.Map;

public class CodeBlockContext {

    private Map<String, List<CodeBlockCompose>> finishFlow;

    private Map<String, String> beginFlowComment;

    private Map<String, Integer> repeatTime;

    private List<CodeBlockProxy> proxys;

    private CodeBlockStruct struct;


    public CodeBlockContext(Map<String, List<CodeBlockCompose>> finishFlow, Map<String, String> beginFlowComment, Map<String, Integer> repeatTime, List<CodeBlockProxy> proxys, CodeBlockStruct struct) {
        this.finishFlow = finishFlow;
        this.proxys = proxys;
        this.struct = struct;
        this.repeatTime = repeatTime;
        this.beginFlowComment = beginFlowComment;
    }

    public Map<String, String> getBeginFlowComment() {
        return beginFlowComment;
    }

    public Map<String, Integer> getRepeatTime() {
        return repeatTime;
    }

    public Map<String, List<CodeBlockCompose>> getFinishFlow() {
        return finishFlow;
    }

    public void setFinishFlow(Map<String, List<CodeBlockCompose>> finishFlow) {
        this.finishFlow = finishFlow;
    }

    public List<CodeBlockProxy> getProxys() {
        return proxys;
    }

    public void setProxys(List<CodeBlockProxy> proxys) {
        this.proxys = proxys;
    }

    public CodeBlockStruct getStruct() {
        return struct;
    }

    public void setStruct(CodeBlockStruct struct) {
        this.struct = struct;
    }
}
